package cn.itcast.bos.service.base;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

public interface BaseService<T> {
    Page<T> finAll(Specification<T> spc, Pageable pageable);

    void  save(T entity);

}
